package artid.com.arttogoa.parser;

import java.io.Serializable;

import org.json.JSONObject;

/**
 *	反馈问题列表实体类+解析
 *
 */
public class FeedbackListParser extends AppItem implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	private String uid;
	private String title;
	private String content;
	private String create_time;
	private String status;
	private String is_weight;
	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		id = obj.optString("id");
		uid = obj.optString("uid");
		title = obj.optString("title");
		content = obj.optString("content");
		create_time = obj.optString("create_time");
		status = obj.optString("status");
		is_weight = obj.optString("is_weight");
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getIs_weight() {
		return is_weight;
	}
	public void setIs_weight(String is_weight) {
		this.is_weight = is_weight;
	}
	public FeedbackListParser() {
		super();
	}
	public FeedbackListParser(String id, String uid, String title,
			String content, String create_time, String status, String is_weight) {
		super();
		this.id = id;
		this.uid = uid;
		this.title = title;
		this.content = content;
		this.create_time = create_time;
		this.status = status;
		this.is_weight = is_weight;
	}
	@Override
	public String toString() {
		return "FeedbackListParser [id=" + id + ", uid=" + uid + ", title="
				+ title + ", content=" + content + ", create_time="
				+ create_time + ", status=" + status + ", is_weight="
				+ is_weight + "]";
	}
}
